package com.example.myweather.pojo
import com.google.gson.annotations.SerializedName


data class Weather(
    @SerializedName("data")
    val `data`: Data,
    @SerializedName("cityInfo")
    val cityInfo: CityInfo,
    @SerializedName("date")
    val date: String,
    @SerializedName("message")
    val message: String,
    @SerializedName("status")
    val status: Int,
    @SerializedName("time")
    val time: String
)

data class Data(
    @SerializedName("forecast")
    val forecast: List<Forecast>,
    @SerializedName("ganmao")
    val ganmao: String,
    @SerializedName("pm10")
    val pm10: Int,
    @SerializedName("pm25")
    val pm25: Int,
    @SerializedName("quality")
    val quality: String,
    @SerializedName("shidu")
    val shidu: String,
    @SerializedName("wendu")
    val wendu: String,
    @SerializedName("yesterday")
    val yesterday: Yesterday
)

data class Forecast(
    @SerializedName("aqi")
    val aqi: Int,
    @SerializedName("date")
    val date: String,
    @SerializedName("fl")
    val fl: String,
    @SerializedName("fx")
    val fx: String,
    @SerializedName("high")
    val high: String,
    @SerializedName("low")
    val low: String,
    @SerializedName("notice")
    val notice: String,
    @SerializedName("sunrise")
    val sunrise: String,
    @SerializedName("sunset")
    val sunset: String,
    @SerializedName("type")
    val type: String,
    @SerializedName("week")
    val week: String,
    @SerializedName("ymd")
    val ymd: String
)

data class Yesterday(
    @SerializedName("aqi")
    val aqi: Int,
    @SerializedName("date")
    val date: String,
    @SerializedName("fl")
    val fl: String,
    @SerializedName("fx")
    val fx: String,
    @SerializedName("high")
    val high: String,
    @SerializedName("low")
    val low: String,
    @SerializedName("notice")
    val notice: String,
    @SerializedName("sunrise")
    val sunrise: String,
    @SerializedName("sunset")
    val sunset: String,
    @SerializedName("type")
    val type: String,
    @SerializedName("week")
    val week: String,
    @SerializedName("ymd")
    val ymd: String
)

data class CityInfo(
    @SerializedName("city")
    val city: String,
    @SerializedName("cityId")
    val cityId: String,
    @SerializedName("parent")
    val parent: String,
    @SerializedName("updateTime")
    val updateTime: String
)